﻿#pragma once
#include "PropertyEditEntry.h"

class TreeWidgetPropertyEditEntry : public PropertyEditEntry {
    Q_OBJECT
public:
    explicit TreeWidgetPropertyEditEntry(QWidget *parent = nullptr);
    TreeWidgetPropertyEditEntry(void *object, QWidget *parent = nullptr);
    ~TreeWidgetPropertyEditEntry();
    void setObject(void *object) override;

protected:
    void onTick() override;

private:
    void initUi();
    void retranslateUi();

private:
    struct TreeWidgetPropertyEditEntryPrivate;
    QScopedPointer<TreeWidgetPropertyEditEntryPrivate> p;
};
